package com.wys.mall.member.feign;

import com.wys.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 调用mall-coupon的功能
 * @Package com.wys.mall.member.feign
 * @Author charlin
 * @Version: v1.0
 * @Date 2021-06-0922:24
 * @Copyright: 2021 www.wyscha.com Inc. All rights reserved.
 */
@FeignClient("mall-coupon")
public interface CouponFeignService {

    /**
     * 调用优惠券微服务中的方法
     * @return
     */
    @RequestMapping("coupon/coupon/member/list")
    R memberCoupons();
}
